package com.lamer.console.blog.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lamer.console.blog.entity.Book;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lamer.console.blog.vo.BookVO;
import com.lamer.console.blog.vo.ChapterVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 黄诗鹏
 * @since 2021-11-24
 */
public interface BookMapper extends BaseMapper<Book> {

    Page<BookVO> selectBookVOPage(Page<BookVO> page, @Param(Constants.WRAPPER) QueryWrapper<BookVO> queryWrapper);
}
